#include <stdio.h>
#include <netinet/in.h>
#include <sys/types.h>          /* See NOTES */
#include <sys/socket.h>
#include <sqlite3.h>
#include <string.h>

int main()
{
	char buff[1024]={0};
	char s[]={"12233223332 34 53"};
	char *a=buff;
	char st1[100]={0};
		 char *t1,*t2;
	char str2[100]={0};
	strtok(s," ");
	t1=strtok(NULL," ");
	t2=strtok(NULL," ");
	printf("%s,%s\n",t1,t2);
	int i=0;
	sprintf(buff,"insert into w_m values(%d,%s,%s)",i,t1,t2);
	i++;
	printf("%s\n",buff);
	i=i+sprintf(buff,"insert into w_m values(%d,%s,%s)",i,t1,t2);
	printf("%s\n",buff);
	return 0;
}
